package com.foreknow.practice.exam;

/**
 * 1.定义员工Employee类
 */
public class Employee {
     String name;//姓名
    double salary;//薪资
    double balance;//银行卡余额

    //无参构造器
    public Employee(){
    }
    //有参构造器
    public Employee(String name,double salary,double balance){
        this.name=name;
        this.salary=salary;
        this.balance=balance;
    }

}
